<%-- 
    Document   : editSkill
    Created on : 25.11.2012, 17:04:34
    Author     : Wendy
--%>

<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>

<f:message var="headline" key="skills.edit"/>
<s:layout-render name="/content.jsp" nadpis="${headline}">
    <s:layout-component name="telo">
       <s:useActionBean beanclass="cz.muni.fi.hauntedhousesclient.SkillActionBean" var="actionBean"/>
 
       <s:form beanclass="cz.muni.fi.hauntedhousesclient.SkillActionBean">
           <s:hidden name="skill.id"/> 
            <fieldset><legend><f:message key="skills.editSkill" /></legend>
                <%@include file="formSkill.jsp"%>
            <s:submit name="save" class="button"><f:message key="skills.save" /></s:submit>
            <br><s:submit name="cancel" class="button"><f:message key="skills.cancel" /></s:submit>
            </fieldset>
        </s:form>
 
    </s:layout-component>
</s:layout-render>